<template>
  <div class="app">
    <!-- <navBar></navBar> -->

    <router-view v-slot="{ Component, route }">
      <keep-alive include="home">
        <component :is="Component"></component>
      </keep-alive>
    </router-view>

    <tab-bar v-if="!route.meta.hideTabBar"></tab-bar>
    <loading />
  </div>
</template>

<script setup>
import tabBar from "@/components/tab-bar/index.vue"
import loading from "@/components/loading/index.vue"
import { useRoute } from 'vue-router';
const route = useRoute()

</script>

<style  scoped>

</style>